home *** CD-ROM | disk | FTP | other *** search
- Path: news.sprintlink.net!rockyd!cmcl2!schonberg!dewar
- From: dewar@cs.nyu.edu (Robert Dewar)
- Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++
- Subject: Re: C/C++ knocks the crap out of Ada
- Date: 21 Feb 1996 07:46:03 -0500
- Organization: Courant Institute of Mathematical Sciences
- Message-ID: <dewar.824906485@schonberg>
- References: <00001a73+00002504@msn.com> <4etcmm$lpd@nova.dimensional.com> <312515DF.7D3B@cmlj.demon.co.uk> <4gad29$ddp@druid.borland.com> <4gb4r3$psg@qualcomm.com> <eg4tslzr18.fsf@trost.ii.uib.no>
- NNTP-Posting-Host: schonberg.cs.nyu.edu
- X-Newsreader: NN version 6.5.0 (NOV)
-
- Ketil asks
-
- "I'm certainly not qualified to parttake in this fla^H^H^Hheated debate
- about Ada vs. C++ -- however, I believe Booch (in "Object oriented
- analysis and design") cites an example program that shrunk 90% when
- recoded into C++ from Ada. Question is, is this typical? And if so,
- is it easier to read/maintain 100K lines of Ada than 10K lines C++?"
-
- It's easy to get confused in this debate (even for the qualified :-)
- but you are suffering from overloading confusion. The language we discuss
- these days is Ada 95. When you see Ada with no further qualification in
- this newsgroup, you have to scratch your head and figure out if the author
- means Ada 83 or Ada 95, and if this is not clear ask!
-
- In this case, Booch is comparing Ada 83 to C++, and the reduction in size
- comes from two sources. First, the rewriting itself cleaned things up, the
- original Ada 83 could definitely be reduced in size. Secondly, and more
- importantly, the C++ version uses type extension and inheritance. These
- features were not available in Ada 83, but are now available in Ada 95.
-
- At NYU, as part of the IAT work, we looked at the Booch components in both
- Ada 83 and C++, and concluded that a full implementation of these components
- in Ada 95 would be about the same size as the implementation in C++, while
- retaining the usual advantages of Ada 95 (greater safety and improved
- readability).
-
- It will help in this newsgroup if everyone makes sure to say Ada 83 when they
- mean Ada 83!
-
-